package main.java.trans;

import main.java.Employee;

public class ChangeAddressTransaction extends ChangeEmployeeTransaction {

    private String newAddress;

    public ChangeAddressTransaction(int empId, String newAddress) {
        super(empId);
        this.newAddress = newAddress;
    }
@Override
protected void doChange(Employee e) {
    e.setAddress(newAddress);
}


}
